{{- $params := .Page.Scratch.Get "params" -}}
{{- $render := $params.code.render | default dict -}}
{{- if $render.goat | default true -}}
    {{- partial "plugin/goat.html" . -}}
{{- else -}}
    {{- template "_default/_markup/render-codeblock.html" . -}}
{{- end -}}
